<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>{{title}}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta name="robots" content="INDEX,FOLLOW" />
    <link rel="icon" href="{{static_local}}/images/favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="{{static_local}}images/favicon.ico" type="image/x-icon" />
    {{add_css}}
    {{head}}
</head>
<body>
    <div class="wrapper">
        {{content}}
    </div>
{{last}}
<script type="text/javascript">
//<![CDATA[
var JsLoader=function(){this._d=[];this.add=function(s,c,p){if(this._d.length==0){setTimeout(function(){JsLoader._p(s,c,p)},100);}else{this._p(s,c,p);}};this._p=function(s,c,p){if(typeof(s)=='string'){s=[s];}this._d.push(s.length);var i=0;var l=s.length;if (c == undefined) {for(i=0;i<l;i++){this._l(s[i]);}} else {for(i=0;i<l;i++){this._l(s[i],function(n){JsLoader._d[n]--;if(JsLoader._d[n]<=0){c(p);} },this._d.length-1);}}};this._l=function(u,c,p){var s=document.createElement("script");s.src=u;s.type="text/javascript";if(c!==undefined){s.onreadystatechange=function(){if(this.readyState=="complete"){c(p);}};s.onload=function(){c(p);};}document.getElementsByTagName("head")[0].appendChild(s);};};JsLoader=new JsLoader();
var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-8016222-2']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(ga);})();
JsLoader.add([{{add_js}}], function(){Main.init();{% if debug %}Debug.init();{% endif %}});
//]]>
</script>
</body>
</html>